﻿using System;
using System.Xml.Serialization;

namespace Zendesk.NET.Models
{
    [XmlRoot("forum")]
    public class Forum
    {
        [XmlElement("category-id")]
        public int? CategoryId;
        [XmlElement("description")]
        public string Description;
        [XmlElement("display-type-id")]
        public int DisplayType;
        [XmlElement("entries-count")]
        public int EntriesCount;
        [XmlElement("id")] public int Id;
        [XmlElement("is-locked")]
        public bool Locked;
        [XmlElement("name")] public string Name;
        [XmlElement("organization-id")]
        public int? OrganizationId;
        [XmlElement("position")]
        public int Position;
        [XmlElement("translation-locale-id")]
        public int? TranslationLocaleId;
        [XmlElement("updated-at")]
        public DateTime Updated;
        [XmlElement("use-for-suggestions")]
        public bool UseForSuggestions;
        [XmlElement("visibility-restriction-id")]
        public int VisibilityRestrictionId;
        [XmlElement("is-public")]
        public bool Public;
    }
}